<?php
namespace Hive\Contact;
/**
 * Contact Extractor
 *
 * It represant an Etl\Extractor that can be used to import contact
 * 
 *
 * @author Xavier VILAIN
 * @package Hive\Contact
 * @license #license-hive#
 *
 * @property int	$extractor	Extractor id 
 * @property string	$standard	Is it a standard entry ?
 * @property string	$active		Is it a active ?
 */
class Extractor extends \Fox\Object {
	/**
	 * 
	 * Enter description here ...
	 * @var unknown_type
	 */
	const LINK_EXTRACTOR_TYPE = 'extractorType';
	
	/**
	 * 
	 * Enter description here ...
	 * @var unknown_type
	 */
	const LINK_CONTACT_EXTRACTORS = 'contactExtractors';
}
\Fox\Dao::infos(Extractor::className(),new \Fox\Object\Info('contact_data_extractors', \Fox\Databases::DB_APP));

// Link to fields items
\Fox\Object\Links::add(\Fox\Dao::link(Extractor::className(), Extractor::LINK_EXTRACTOR_TYPE)
->to(\Orx\Etl\Extractor::className(),Extractor::LINK_CONTACT_EXTRACTORS)
->on('extractor')
->oneToOne());